package springboottest.springboot.entity;

import java.io.Serializable;

public class UserEntity implements Serializable {
	 
	private static final long serialVersionUID = 7435316670383246691L;
	private Long userId;
	private String userName;

	public UserEntity() {
		super();
	}

	public UserEntity(Long userId, String userName) {
		super();
		this.userId = userId;
		this.userName = userName;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "UserEntity [userId=" + userId + ", userName=" + userName + "]";
	}

}
